from django.conf.urls import url

from . import views

app_name = 'app1'

urlpatterns = [
    url(r'^detail/(?P<pk>[0-9]+)/', views.detail, name='detail'),
    url(r'^about/', views.about, name='about'),
    url(r'^index/(?:(?P<num>[0-9]+)/)?', views.index, name='index'),
]
